package com.hq.xmind;

public class Tree {

    private String id;
    private String pid;//父类id
    private String title;//标题
    private Integer level;//级别

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "Tree{" +
                "id='" + id + '\'' +
                ", pid='" + pid + '\'' +
                ", title='" + title + '\'' +
                ", level=" + level +
                '}';
    }
}
